<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
System.out.println(user);
}
}
@Test
public void selectByUser(){
User u=new User();
u.setUid(1);
for (User user : mapper.selectByUser(u)) {
System.out.println(user);
}
}
}     
</body>
</html>